package la.bbs558.handler.points;

import la.bbs558.context.PointContext;
import la.bbs558.entity.enums.ActionPeriod;
import la.bbs558.handler.PointsHandler;
import org.springframework.stereotype.Service;

@Service
public class BbsReplyHandler extends PointsHandler {


    @Override
    protected int currentTimes(PointContext context) {
        return selectDayOptCnt(context);
    }


    @Override
    public int maxTimes() {
        return 10;
    }

    @Override
    public int points() {
        return 1;
    }

    @Override
    public ActionPeriod period() {
        return ActionPeriod.DAILY;
    }
}
